package eip.chapter1.example;

public class CalcService {

	
	/**
	 * Calculate the salary
	 * 
	 * @param baseSalary the base salary
	 * @param sales the amount of sales made
	 * @param percentage the provision percentage
	 * @return the calculated salary
	 */
	public double calculateSalary(double baseSalary, double sales,
					float percentage) {
		return baseSalary + (sales * (percentage / 100));
	}
}
